package cn.wongshu.student.service;

import cn.wongshu.student.dao.ReplyDao;
import cn.wongshu.student.pojo.Reply;
import org.hibernate.validator.constraints.EAN;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReplyService {


    @Autowired
    private ReplyDao replyDao;

     public   List<Reply> findByCommentId(Integer id){

         return replyDao.findReplyListByCommentId(id);


     }

}
